<!DOCTYPE html>
<html>
<head>
    <meta charset = "utf-8" />
    <title>管理中心 - {$pt.PRONAME}</title>
    <link rel = "stylesheet" href = "__TMPL__/css/admin.css" />
    <meta name = "keywords" content = "" />
    <meta name = "description" content = "" />
    <meta name = "viewport" content = "width=device-width" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>
<body>
<div class = "pt-main-wrap">
    <div class = "pt-path"><span class = "pt-path-icon icon-home"></span>您好<font color = "red"><b>{$username}</b></font>，欢迎进入<a href = "http://www.ptcms.com"><b>{$pt.PRONAME}</b></a> 控制台！</div>
    <div class="pt-wrap">
        <div class="pt-col">
            <div class="pt-col-item pt-col-5">
                <div class="pt-widget">
                    <div class="pt-wcon-infobox">
                        <div class="iconbox f-tac"><i class="icon icon-edit"> </i></div>
                        <div class="infobox f-tac">
                            <strong>1</strong>
                            <span>用户数</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="pt-col-item pt-col-5">
                <div class="pt-widget">
                    <div class="pt-wcon-infobox">
                        <div class="iconbox f-tac"><i class="icon icon-edit"> </i></div>
                        <div class="infobox f-tac">
                            <strong>1</strong>
                            <span>用户数</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="pt-col-item pt-col-5">
                <div class="pt-widget">
                    <div class="pt-wcon-infobox">
                        <div class="iconbox f-tac"><i class="icon icon-edit"> </i></div>
                        <div class="infobox f-tac">
                            <strong>1</strong>
                            <span>用户数</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="pt-col-item pt-col-5">
                <div class="pt-widget">
                    <div class="pt-wcon-infobox">
                        <div class="iconbox f-tac"><i class="icon icon-edit"> </i></div>
                        <div class="infobox f-tac">
                            <strong>1</strong>
                            <span>用户数</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="pt-col-item pt-col-5 pt-col-item-last">
                <div class="pt-widget">
                    <div class="pt-wcon-infobox">
                        <div class="iconbox f-tac"><i class="icon icon-edit"> </i></div>
                        <div class="infobox f-tac">
                            <strong>1</strong>
                            <span>用户数</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="f-clear"></div>
        <div class="pt-col">
            <div class="pt-widget">
                <div class="pt-widget-title">
                    <span><i class="icon icon-edit"></i></span>
                    <h5>图标统计</h5>
                </div>
                <div class="pt-widget-content pt-wcon-chart">
                    <div class="chartbox" >
                        <div class="chart"></div>
                    </div>
                    <div class="infobox">
                        <ul class="site-stats">
                            <li><i class="icon-user"></i> <strong>2540</strong> <small>Total Users</small></li>
                            <li><i class="icon-plus"></i> <strong>120</strong> <small>New Users </small></li>
                            <li><i class="icon-shopping-cart"></i> <strong>656</strong> <small>Total Shop</small></li>
                            <li><i class="icon-tag"></i> <strong>9540</strong> <small>Total Orders</small></li>
                            <li><i class="icon-repeat"></i> <strong>10</strong> <small>Pending Orders</small></li>
                            <li><i class="icon-globe"></i> <strong>8540</strong> <small>Online Orders</small></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="f-clear"></div>

        <div class="alert alert-success alert-dismissable ">
            <button type="button" class="close">&times;</button>
            <p>提示内容</p>
        </div>
        <div class="alert alert-warning alert-dismissable ">
            <button type="button" class="close">&times;</button>
            <p>提示内容</p>
        </div>
        <div class="alert alert-info alert-dismissable ">
            <button type="button" class="close">&times;</button>
            <p>提示内容</p>
        </div>
        <div class="alert alert-danger alert-dismissable ">
            <button type="button" class="close">&times;</button>
            <p>提示内容</p>
        </div>
        <div class="pt-col">
            <div class="pt-col-item pt-col-2">
                <div class="pt-widget">
                    <div class="pt-widget-title">
                        <span><i class="icon icon-edit"></i></span>
                        <h5>widget标题</h5>
                    </div>
                    <div class="pt-widget-content pt-wcon-text">
                        <p>本报讯 据新闻晨报微博爆出，台湾著名摇滚歌手、演员、主持人高凌风先生因癌症恶化，于17日晚七点五十分过世，享年63岁。微博中写道：“台湾著名摇滚歌手、演员、主持人高凌风先生因癌症恶化，于今晚七点五十分过世，享年63岁。大哥，一路走好。希望大家记住他健康的時候，还有那燃烧吧火鸟！”</p>
                        <p>高凌风（1950年2月28日出生），本名葛元诚，祖籍湖北省，女朋琼瑶小说《女朋友音所启发的鼻音唱腔，是当时舞台艺人琼瑶小说《女朋友音所启发的鼻音唱腔，是当时舞台艺人争相模仿的对象。作品《冬天里琼瑶小说《女朋友音所启发的鼻音唱腔，是当时舞台艺人争相模仿的对象。作品《冬天里争相模仿的对象。作品《冬天里的琼瑶小说《女朋友音所启发的鼻音唱腔，是当时舞台艺人争相模仿的对象。作品《冬天里一把火》由费翔翻唱，红遍全中国大陆。 （人民）</p>
                    </div>
                </div>
            </div>
            <div class="pt-col-item pt-col-2 pt-col-item-last">
                <div class="pt-widget">
                    <div class="pt-widget-title">
                        <span><i class="icon icon-edit"></i></span>
                        <h5>widget标题</h5>
                    </div>
                    <div class="pt-widget-content pt-wcon-piclist">
                        <ul>
                            <li>
                                <div class="picbox"><img width="40" height="40" alt="User" src="http://www.ptjoke.com/Public/image/noavatar_middle.jpg"> </div>
                                <div class="textbox">
                                    <p class="info"> 杰少Pakey / 2014-12-23 12:01:45 / iflove@163.-12-23 12:01:45 / iflove@163com / http://www.pakey.net</p>
                                    <p class="content"><a href="#">高凌风（1950年2月28日出生），本名葛元诚，祖籍湖北省，出生于高雄县冈山镇的空军眷村。是台湾著名摇滚歌手、演员、主持人，其艺名是琼瑶小说《女朋友》中的男主角名字。外号青蛙王子</a> </p>
                                </div>
                            </li>
                            <li>
                                <div class="picbox"><img width="40" height="40" alt="User" src="http://www.ptjoke.com/Public/image/noavatar_middle.jpg"> </div>
                                <div class="textbox">
                                    <p class="info"> 杰少Pakey / 2014-12-23 12:01:45 / iflove@163.-12-23 12:01:45 / iflove@163com / http://www.pakey.net</p>
                                    <p class="content"><a href="#">高凌风（1950年2月28日出生），本名葛元诚，祖籍湖北省，出生于高雄县冈山镇的空军眷村。是台湾著名摇滚歌手、演员、主持人，其艺名是琼瑶小说《女朋友》中的男主角名字。外号青蛙王子</a> </p>
                                </div>
                            </li>
                            <li>
                                <div class="picbox"><img width="40" height="40" alt="User" src="http://www.ptjoke.com/Public/image/noavatar_middle.jpg"> </div>
                                <div class="textbox">
                                    <p class="info"> 杰少Pakey / 2014-12-23 12:01:45 / iflove@163.-12-23 12:01:45 / iflove@163com / http://www.pakey.net</p>
                                    <p class="content"><a href="#">高凌风（1950年2月28日出生），本名葛元诚，祖籍湖北省，出生于高雄县冈山镇的空军眷村。是台湾著名摇滚歌手、演员、主持人，其艺名是琼瑶小说《女朋友》中的男主角名字。外号青蛙王子</a> </p>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="f-clear"></div>
        <div class="pt-col">
            <div class="pt-col-item  pt-col-3">
                <div class="pt-widget">
                    <div class="pt-widget-title">
                        <span><i class="icon icon-edit"></i></span>
                        <h5>widget标题</h5>
                    </div>
                    <div class="pt-widget-content pt-wcon-list">
                        <ul>
                            <li><strong>标题内容</strong>列表提示内容</li>
                            <li><strong>标题内容</strong>列表提示内容</li>
                            <li><strong>标题内容</strong>列表提示内容</li>
                            <li><strong>标题内容</strong>列表提示内容</li>
                            <li><strong>标题内容</strong>列表提示内容</li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="pt-col-item  pt-col-3">
                <div class="pt-widget">
                    <div class="pt-widget-title">
                        <span><i class="icon icon-edit"></i></span>
                        <h5>widget标题</h5>
                    </div>
                    <div class="pt-widget-content pt-wcon-list">
                        <ul>
                            <li><i class="icon icon-edit"></i><a href="#">列表提示内容</a></li>
                            <li><i class="icon icon-edit"></i><a href="#">列表提示内容</a></li>
                            <li><i class="icon icon-edit"></i><a href="#">列表提示内容</a></li>
                            <li><i class="icon icon-edit"></i><a href="#">列表提示内容</a></li>
                            <li><i class="icon icon-edit"></i><a href="#">列表提示内容</a></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="pt-col-item  pt-col-3 pt-col-item-last">
                <div class="pt-widget">
                    <div class="pt-widget-title">
                        <span><i class="icon icon-edit"></i></span>
                        <h5>widget标题</h5>
                    </div>
                    <div class="pt-widget-content pt-wcon-list">
                        <ul>
                            <li><span class="f-fr">2013-12</span>列表提示内容</li>
                            <li><span class="f-fr">2013-12</span>列表提示内容</li>
                            <li><span class="f-fr">2013-12</span>列表提示内容</li>
                            <li><span class="f-fr">2013-12</span>列表提示内容</li>
                            <li><span class="f-fr">2013-12</span>列表提示内容</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="f-clear"></div>
    <div class = "pt-table-wrap">
        <h4 class = "pt-msg-title"><b class="f-fl">列表信息管理</b><span><a href = "#" class = "btn btn-success btn-sm f-fr">添加小说</a></span></h4>
        <div class = "pt-search-area">
            <p class = "tips">请输入相关关键词，然后选择相应的搜索选项搜索小说( <font color = "red ">您可以在关键词前后使用匹配符*(任意字符)、?(一个字符)</font>)。</p>
            <div class = "pt-search-box">
                <form action = "__URL__/index" method = "get">
                    <strong>搜索小说：</strong>
                    <select name = "searchtype" class = "input-box">
                        <option value = "novelname">书名</option>
                        <option value = "author">作者</option>
                    </select>
                    <input name = "searchkey" class = "input-text" type = "text" />
                    <input name = "" type = "submit" class = "btn btn-primary btn-sm" value = "搜索" />
                </form>
            </div>
        </div>
        <div class = "pt-list">
            <div class="pt-list-title">
                <p class = "f-fl tips">当前共有小说<span>882820</span>个</p>
                <div class = "bulk-actions f-fr"> 按照
                    <select class="input-box" data="_sort">
                        <option value = "postdate">入库时间</option>
                        <option value = "lastupdate" selected = "">更新时间</option>
                        <option value = "allvisit">总点击</option>
                        <option value = "monthvisit">月点击</option>
                        <option value = "weekvisit">周点击</option>
                        <option value = "search">搜索数</option>
                        <option value = "mark">收藏数</option>
                    </select> 以
                    <select class="input-box" data="_sort">
                        <option value = "0">正序</option>
                        <option value = "1" selected = "">倒序</option>
                    </select> 排序，每页
                    <select class="input-box" data="_sort">
                        <option value = "20">20</option>
                        <option value = "10">10</option>
                        <option value = "20">20</option>
                        <option value = "30">30</option>
                        <option value = "50">50</option>
                        <option value = "100">100</option>
                    </select> 条
                </div>
            </div>
            <div class = "f-clear"></div>
            <form method = "post" onsubmit = "return checkselt('id[]');">
                <table class = "pt-list-table">
                    <thead>
                    <tr>
                        <th class="w-checkbox"><input id = "delall" type = "checkbox" onclick = "check_all(this,'id[]')"></th>
                        <th class = "w-id">ID</th>
                        <th>书名/章节</th>
                        <th>作者</th>
                        <th class = "w-word4">来源</th>
                        <th class= "w-time">更新时间</th>
                        <th class = "operate w-operate2">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr class = "">
                        <td><input type = "checkbox" class = "select-all" name = "id[]" value = "862882"></td>
                        <td>862882</td>
                        <td>《<a href = "/minguozongshi/info.html" target = "_blank">民国宗师</a>》 / <a href = "/minguozongshi/mulu_all/1.html" target = "_blank">第一百四十章.南拳北上</a></td>
                        <td>丹经残文</td>
                        <td><a href = "" target = "_blank">起点中文</a></td>
                        <td>02-17 11:45</td>
                        <td class = "operate">
                            <a><i class="icon icon-edit"></i>编辑</a>
                            <a><i class="icon icon-trash"></i>删除</a>
                        </td>
                    </tr>
                    <tr class = "&lt;cycle values='odd,'&gt;">
                        <td><input type = "checkbox" class = "select-all" name = "id[]" value = "882771"></td>
                        <td>882771</td>
                        <td>《<a href = "/yibatianxia4/info.html" target = "_blank">义霸天下</a>》 / <a href = "/yibatianxia4/mulu_all/1.html" target = "_blank">第六章 三招</a></td>
                        <td>梁新</td>
                        <td><a href = "" target = "_blank">纵横中文</a></td>
                        <td>02-17 11:44:46</td>
                        <td class = "operate">
                            <a href = ""><i class="icon icon-ok"></i>通过</a>
                            <a href = ""><i class="icon icon-remove"></i>禁用</a>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <div class="pt-list-footer">
                    <div class = "f-fl">
                        <select name = "dooperate" class="input-box">
                            <option value = "0">请选择您的操作</option>
                            <option value = "0">请选择您的操作</option>
                        </select>
                        <input type = "submit" class = "btn btn-primary btn-sm" value = "提交所选">
                    </div>
                    <div class = "pt-page f-fr">
                        <i>882820 条记录 1/44141 页</i>
                        <a href = "">首页</a>
                        <a href = "" class="disable">上页</a>
                        <a href = "" class = "current">1</a>
                        <a href = "">2</a>
                        <a href = "">3</a>
                        <a href = "">4</a>
                        <a href = "">5</a>
                        <a href = "">下页</a>
                        <a href = "">尾页</a></div>
                    <div class = "clear"></div>
                </div>
            </form>
        </div>
    </div>
    <div class = "pt-set-wrap">
        <div class = "pt-set-box">
            <h4 class = "pt-msg-title">程序动态</h4>
            <div class = "pt-msg-box" id = "newmessage">
                <p class = "tips"><img src = "__PUBLIC__/image/loading2.gif" />&nbsp;Loading...</p>
                <div class = "quote">
                    <p><b>一、</b>PTNovel建站程序<a href = "http://www.ptcms.com" target = "_blank">PTCMS</a>开发组独立开发，严禁使用任何非法手段破解本程序，进行修改发布等行为；</p>
                    <p><b>二、</b>不得使用本程序进行违反我国现行法律法规的任何行为，如传播病毒木马、恶意软件、淫秽色情、等;</p>
                </div>
            </div>
            <h4 class = "pt-msg-title">程序动态</h4>
            <div class = "pt-msg-box">
                <p class = "tips">some msg info</p>
                <div class = "quote">
                    <p><b>一、</b>PTNovel建站程序<a href = "http://www.ptcms.com" target = "_blank">PTCMS</a>开发组独立开发，严禁使用任何非法手段破解本程序，进行修改发布等行为；</p>
                    <p><b>二、</b>不得使用本程序进行违反我国现行法律法规的任何行为，如传播病毒木马、恶意软件、淫秽色情、等;</p>
                </div>
            </div>
            <h4 class = "pt-msg-title">文字label 按钮</h4>
            <div class = "pt-msg-box">
                <p class = "tips">
                    label 用于span标识状态信息
                    <span class="label label-default">label-default</span>
                    <span class="label label-primary">label-primary</span>
                    <span class="label label-warning">label-warning</span>
                    <span class="label label-danger">label-danger</span>
                    <span class="label label-success">label-success</span>
                    <span class="label label-info">label-info</span>
                </p>
                <p class = "tips" style="height:4em;line-height:4em">
                    按钮
                    <button class="btn btn-default">btn-default</button>
                    <button class="btn btn-primary">btn-primary</button>
                    <button class="btn btn-warning">btn-warning</button>
                    <button class="btn btn-danger">btn-danger</button>
                    <button class="btn btn-success">btn-success</button>
                    <button class="btn btn-info btn-lg">大btn-info</button>
                    <button class="btn btn-info">btn-info</button>
                    <button class="btn btn-info btn-sm">小btn-info</button>
                    <button class="btn btn-info btn-xs">更小btn-info</button>
                </p>

            </div>
            <div class="pt-msg-box">
                <div class="progress">
                    <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
                        <span class="sr-only">40% Complete (success)</span>
                    </div>
                </div>
                <div class="progress">
                    <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
                        <span class="sr-only">20% Complete</span>
                    </div>
                </div>
                <div class="progress">
                    <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
                        <span class="sr-only">60% Complete (warning)</span>
                    </div>
                </div>
                <div class="progress">
                    <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
                        <span class="sr-only">80% Complete</span>
                    </div>
                </div>
                <div class="progress progress-striped">
                    <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
                        <span class="sr-only">40% Complete (success)</span>
                    </div>
                </div>
                <div class="progress progress-striped">
                    <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
                        <span class="sr-only">20% Complete</span>
                    </div>
                </div>
                <div class="progress progress-striped">
                    <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
                        <span class="sr-only">60% Complete (warning)</span>
                    </div>
                </div>
                <div class="progress progress-striped">
                    <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
                        <span class="sr-only">80% Complete (danger)</span>
                    </div>
                </div>
                <div class="progress progress-striped active">
                    <div class="progress-bar"  role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%">
                        <span class="sr-only">45% Complete</span>
                    </div>
                </div>
                <div class="progress">
                    <div class="progress-bar progress-bar-success" style="width: 35%">
                        <span class="sr-only">35% Complete (success)</span>
                    </div>
                    <div class="progress-bar progress-bar-warning" style="width: 20%">
                        <span class="sr-only">20% Complete (warning)</span>
                    </div>
                    <div class="progress-bar progress-bar-danger" style="width: 10%">
                        <span class="sr-only">10% Complete (danger)</span>
                    </div>
                </div>
            </div>
            <h4 class = "pt-msg-title">选项卡</h4>
            <div class = "pt-tab">
                <div class = "pt-tab-nav">
                    <a href = "#" class = "current"><span>选项卡1</span></a>
                    <a href = "#"><span>选项卡12</span></a>
                </div>
                <div class = "pt-tab-content">
                    <div class = "pt-tab-item">
                        <h4 class = "pt-msg-title">选项卡1 title</h4>
                        <div class = "pt-set-content">
                            <div class = "pt-set-info">
                                <div class = "title"><b>选项卡1：</b><span>some tips</span></div>
                                <input name = "name" type = "text" value = "" />
                                <span class = "tips">some tips</span>
                            </div>
                        </div>
                    </div>
                    <div class = "pt-tab-item">
                        <div class = "pt-set-content">
                            <div class = "pt-set-info">
                                <div class = "title"><b>选项卡2：</b><span>some tips</span></div>
                                <input name = "name" type = "text" value = "" />
                                <span class = "tips">some tips</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class = "f-clear"></div>
            <h4 class = "pt-msg-title">设置区域</h4>
            <div class = "pt-set-content">
                <div class = "pt-set-info">
                    <div class = "title"><b>文本框：</b><span>some tips</span></div>
                    <input name = "name" type = "text" value = "" class="input-text"/>
                    <span class = "tips">some tips</span>
                </div>
                <div class = "pt-set-info">
                    <div class = "title"><b>文本框disable：</b><span>some tips</span></div>
                    <input name = "name" type = "text" value = "" disabled class="input-text"/>
                    <span class = "tips">some tips</span>
                </div>
                <div class = "pt-set-info">
                    <div class = "title"><b>文本框readonly：</b><span>some tips</span></div>
                    <input name = "name" type = "text" value = "" readonly class="input-text"/>
                    <span class = "tips">some tips</span>
                </div>
                <div class = "pt-set-info">
                    <div class = "title"><b>单选狂：</b><span>some tips</span></div>
                    <label for = "loginshow1">
                        <input id = "loginshow1" name = "loginshow" type = "radio" value = '1' checked = 'checked' />登录后继续显示&nbsp;&nbsp;&nbsp;&nbsp;
                    </label>
                    <label for = "loginshow2">
                        <input id = "loginshow2" name = "loginshow" type = "radio" value = "0" />登陆后不显示&nbsp;&nbsp;&nbsp;&nbsp;
                    </label>
                </div>
                <div class = "pt-set-info">
                    <div class = "title"><b>单选狂：</b><span>some tips</span></div>
                    <label for = "checkbox1">
                        <input id = "checkbox1" name = "checkbox" type = "checkbox" value = '1' checked = 'checked' />登录后继续显示&nbsp;&nbsp;&nbsp;&nbsp;
                    </label>
                    <label for = "checkbox2">
                        <input id = "checkbox2" name = "checkbox" type = "checkbox" value = "0" />登陆后不显示&nbsp;&nbsp;&nbsp;&nbsp;
                    </label>
                </div>
                <div class = "pt-set-info">
                    <div class = "title"><b>下拉：</b><span>some tips</span></div>
                    <select class = "input-box" style = "width:150px">
                        <option>sdfsdfs</option>
                        <option>2</option>
                        <option>3</option>
                        <option>4</option>
                        <option>5</option>
                    </select>
                    <input class = "btn btn-primary btn-sm" type = "submit" value = " 可以增加一些操作 " />
                </div>
                <div class = "pt-set-info">
                    <div class = "title"><b>文本：</b><span>some tips</span></div>
                    <textarea name = "" id = "" class = "input-box" style = "width:640px;height:50px"></textarea>
                </div>
                <div class = "pt-set-info">
                    <input class = "btn btn-primary" type = "submit" value = " 提交 " />
                    <input class = "btn btn-default" type = "submit" value = " 取消 " />
                </div>
            </div>
            <h4 class = "pt-msg-title">一行设置,左侧固定宽度</h4>
            <div class = "pt-set-content">
                <div class = "pt-set-info pt-set-info-last">
                    <p>
                        <b class = "name">设置项目：</b>
                        <input name = "name" type = "text" value = "" class="input-text"/>
                        <span class = "tips Validform_checktip">some tips</span>
                    </p>
                </div>
                <div class = "pt-set-info pt-set-info-last">
                    <p>
                        <b class = "name">设置项目二：</b>
                        <input name = "name" type = "text" value = "" style = "width:300px;" class="input-text"/>
                        <span class = "Validform_checktip">some tips</span>
                    </p>
                </div>
            </div>
        </div>
    </div>
</div>
<script type = "text/javascript" src = "__PUBLIC__/script/jquery.min.js"></script>
<script type = "text/javascript" src = "__TMPL__/script/admin.js"></script>
<script>
    $(document).ready(function () {
        $.getJSON("http://update.ptcms.com/news/admin.php?ptnovel=?", function (data) {
            $("#newmessage").html(data.newmessage);
        });
        var sin = [], cos = [];
        for (var i = 0; i <= 15; i += 0.5) {
            sin.push([i, Math.sin(i)]);
            cos.push([i, Math.cos(i)]);
        }
        // === Make chart === //
        var plot = $.plot($(".chart"),
                [ { data: sin, label: "sin(x)", color: "#ee7951"}, { data: cos, label: "cos(x)",color: "#4fb9f0" } ], {
                    series: {
                        lines: { show: true },
                        points: { show: true }
                    },
                    grid: { hoverable: true, clickable: true },
                    yaxis: { min: -1.6, max: 1.6 }
                });

        // === Point hover in chart === //
        var previousPoint = null;
        $(".chart").bind("plothover", function (event, pos, item) {
            if (item) {
                if (previousPoint != item.dataIndex) {
                    previousPoint = item.dataIndex;
                    $('#tooltip').fadeOut(200,function(){
                        $(this).remove();
                    });
                    var x = item.datapoint[0].toFixed(2),y = item.datapoint[1].toFixed(2);
                    console.log(item)
                    maruti.flot_tooltip(item.pageX, item.pageY,item.series.label + " of " + x + " = " + y);
                }
            } else {
                $('#tooltip').fadeOut(200,function(){
                    $(this).remove();
                });
                previousPoint = null;
            }
        });
        maruti = {
            // === Tooltip for flot charts === //
            flot_tooltip: function(x, y, contents) {

                $('<div id="tooltip">' + contents + '</div>').css( {
                    top: y + 5,
                    left: x + 5
                }).appendTo("body").fadeIn(200);
            }
        }

    });
</script>
</body>
</html>
